<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1"><!--移动设备优先-->
    <title>决策分析</title>
    <style type="text/css">@import url("<c:url value="/css/lib/bootstrap.min.css"/>");</style>
    <style type="text/css">@import url("<c:url value="/css/lib/V2.0/weknow.css"/>");</style>
    <style type="text/css">@import url("<c:url value="/css/lib/font-awesome.min.css"/>");</style>
    <style type="text/css">@import url("<c:url value="/plugins/jquery-ui/jquery-ui.min.css"/>");</style>
    <style type="text/css">@import url("<c:url value="/css/lib/iconfont/iconfont.css"/>");</style>
    <style type="text/css">@import url("<c:url value="/plugins/statement/statistics_statement.css"/>");</style>
</head>
<body>

<div class="navbar navbar-fixed-top">
    <div class="top-bar" style="height: 45px; background: #102552;display: flex; flex-direction: row; align-items: center">
        <%--<div class="form-inline">
            <div class="form-group" style="font-size: 15px; align-items: center; margin-left: 15px">
                <i class="fa fa-long-arrow-left" style="font-size:30px;color: rgba(255,255,255,0.9); border-right:1px solid rgba(255,255,255,0.9);padding-right: 5px;" id="backToWorkspace"></i>
            </div>
            <span class="topFont">决策分析</span>
        </div>--%>
        <span class="topFont">决策分析</span>
        <div id="curTime" style="display: flex; flex-direction: row; position: absolute; right: 20px"></div>
    </div>
</div>

<div class="dateRow">
    <div class="choose-day fl" data-days="0">当日</div>
    <div class="choose-day fl" data-days="6">近7天</div>
    <div class="choose-day fl" data-days="29">近30天</div>

    <div class="choose-month fl" style="display: none;" data-months="0">当月</div>
    <div class="choose-month fl" style="display: none;" data-months="5">近半年</div>
    <div class="choose-month fl" style="display: none;" data-months="11">近一年</div>

    <div class="fl day-row">
        <div class="form-group fl" style="display: flex; flex-direction: row; justify-content: center;align-items: center; margin: initial">
            <div style="line-height:100%; font-size: 0.15rem">日期：</div>
            <input type="text" class="form-control input-sm date-input" id="startDt" name="visitDay" readonly="readonly" placeholder="开始日期">
        </div>
        <div class="form-group fl" style="display: flex; flex-direction: row; justify-content: center;align-items: center; margin: initial">
            <div style="line-height:100%; padding: 0 5px; font-size: 0.15rem">至</div>
            <input type="text" class="form-control input-sm date-input" id="endDt" name="visitDay" readonly="readonly" placeholder="结束日期">
        </div>
    </div>

    <div class="fl month-row" style="display: none;">
        <div class="form-group fl" style="display: flex; flex-direction: row; justify-content: center;align-items: center; margin: initial">
            <div style="line-height:100%; font-size: 0.15rem">年月：</div>
            <input type="text" class="form-control input-sm month-input" id="startYm" maxlength="7" name="visitMonth" readonly="readonly" placeholder="开始年月">
        </div>
        <div class="form-group fl" style="display: flex; flex-direction: row; justify-content: center;align-items: center ; margin: initial">
            <div style="line-height:100%; padding: 0 5px; font-size: 0.15rem">至</div>
            <input type="text" class="form-control input-sm month-input" id="endYm" maxlength="7" name="visitMonth" readonly="readonly" placeholder="结束年月">
        </div>
    </div>

    <div class="btn-group fl changeDayMonth" style="margin-left: 10px;" data-toggle="buttons">
        <label class="btn btn-sm btn-primary no-choose active" for="radioDay">
            <input type="radio" name="analyseMode" id="radioDay" value="1" checked="checked" style="font-size: 0.15rem"> 按日
        </label>
        <label class="btn btn-sm btn-primary no-choose" for="radioMonth">
            <input type="radio" name="analyseMode" id="radioMonth" value="2" style="font-size: 0.15rem"> 按月
        </label>
    </div>
</div>

<div class="part">
    <div class="rectList">
        <div class="colorRect" style="background-color: #29B6F6">
            <div class="left">
                <div class="regulator_img"></div>
                <span class="font">监管机构</span>
            </div>
            <div class="right">
                <div class="rect">
                    <span class="fontBig" id="invsInstitutionCnt">0</span>
                    <span class="fontSmall">已监管</span>
                </div>
                <div class="rect">
                    <span class="fontBig" id="noInvsInstitutionCnt">0</span>
                    <span class="fontSmall">未监管</span>
                </div>
            </div>
        </div>
        <div class="colorRect" style="background-color: #7e57c2">
            <div class="left">
                <a href="javascript:MY_STATISTICS_STATEMENT.linkJump('invs_clinic_info.do', 0, 2,'occupationalLicenceStatus:0')" style="float: left;cursor: default;color: #7e57c2">
                    <div class="institution_img"></div>
                </a>
                <span class="font">医疗机构资质</span>
            </div>
            <div class="right">
                <div class="rect">
                    <span class="fontBig" id="overdueCnt">0</span>
                    <span class="fontSmall">已过期</span>
                </div>
                <div class="rect"></div>
            </div>
        </div>
        <div class="colorRect" style="background-color: #6e8cd7">
            <div class="left">
                <div class="doctor_img"></div>
                <span class="font">监管执业医师</span>
            </div>
            <div class="right">
                <div class="rect">
                    <span class="fontBig" id="invsDoctorCnt">0</span>
                    <span class="fontSmall">已监管</span>
                </div>
                <div class="rect"></div>
            </div>
        </div>
    </div>
    <div class="pieRect" style="width: 8.75rem">
        <div class="titleLine">
            <div class="titleDot"></div>
            <span class="titleFont">监管机构分布</span>
        </div>
        <div class="chart" id="institutionPie"></div>
    </div>
    <div class="pieRect">
        <div class="titleLine">
            <div class="titleDot"></div>
            <span class="titleFont">执业医师分布</span>
        </div>
        <div class="chart" id="doctorPie"></div>
    </div>
</div>

<div class="part">
    <div class="rectList">
        <div class="colorRect" style="background-color: #2fa480">
            <div class="left">
                <div class="prescription_img"></div>
                <span class="font">电子处方</span>
            </div>
            <div class="right">
                <div class="rect">
                    <span class="fontBig" id="preCnt">0</span>
                    <span class="fontSmall">累计监管</span>
                </div>
                <div class="rect">
                    <span class="fontBig" id="preIllegalCnt">0</span>
                    <span class="fontSmall">违规</span>
                </div>
            </div>
        </div>
        <div class="colorRect" style="background-color: #2fa480">
            <div class="left">
                <div class="history_img"></div>
                <span class="font">电子病历</span>
            </div>
            <div class="right">
                <div class="rect">
                    <span class="fontBig" id="medicalHisCnt">0</span>
                    <span class="fontSmall">累计监管</span>
                </div>
                <div class="rect"></div>
            </div>
        </div>
        <div class="colorRect" style="background-color: #1a654e">
            <div class="left">
                <div class="prescription_state_img"></div>
                <span class="font">申诉情况</span>
            </div>
            <div class="right">
                <div class="rect">
                    <span class="fontBig" id="preAppealCnt">0</span>
                    <span class="fontSmall">申诉</span>
                </div>
                <div class="rect">
                    <span class="fontBig" id="preNoAppealCnt">0</span>
                    <span class="fontSmall">未申诉</span>
                </div>
            </div>
        </div>
    </div>
    <div class="illegalRect">
        <div class="titleLine" style="justify-content: space-between;">
            <div class="left">
                <div class="titleDot"></div>
                <span class="titleFont">处方违规数量排行</span>
            </div>
            <a href="javascript:MY_STATISTICS_STATEMENT.linkJump('invs_prescription_violate.do', -1, -1)" style="float: left;cursor: default; color: white">
                <span style="color: #3D8AE1; font-size: 0.225rem;">更多>></span>
            </a>
        </div>
        <div class="illegalList" id="preIllegalList">
        </div>
    </div>
    <div class="pieRect">
        <div class="titleLine">
            <div class="titleDot"></div>
            <span class="titleFont">处方申诉处理</span>
        </div>
        <div class="chart" id="prescriptionPie"></div>
    </div>
</div>

<div class="part" style="margin-bottom: 45px">
    <div class="rectList">
        <div class="colorRect" style="background-color: #ef853d">
            <div class="left">
                <div class="account_img"></div>
                <span class="font">卫生台账</span>
            </div>
            <div class="right">
                <div class="rect">
                    <span class="fontBig" id="accCnt">0</span>
                    <span class="fontSmall">累计监管</span>
                </div>
                <div class="rect">
                    <span class="fontBig" id="accIllegalCnt">0</span>
                    <span class="fontSmall">异常</span>
                </div>
            </div>
        </div>
        <div class="colorRect" style="background-color: #ef743d">
            <div class="left">
                <div class="account_state_img"></div>
                <span class="font">申诉情况</span>
            </div>
            <div class="right">
                <div class="rect">
                    <span class="fontBig" id="accAppealCnt">0</span>
                    <span class="fontSmall">申诉</span>
                </div>
                <div class="rect">
                    <span class="fontBig" id="accNoAppealCnt">0</span>
                    <span class="fontSmall">未申诉</span>
                </div>
            </div>
        </div>
    </div>
    <div class="illegalRect">
        <div class="titleLine" style="justify-content: space-between;">
            <div class="left">
                <div class="titleDot"></div>
                <span class="titleFont">台账违规数量排行</span>
            </div>
            <a href="javascript:MY_STATISTICS_STATEMENT.linkJump('invs_summarize.do', 0, -1)" style="float: left;cursor: default; color: white">
                <span class="titleFont" style="color: #3D8AE1">更多>></span>
            </a>
        </div>
        <div class="illegalList" id="accIllegalList">
        </div>
    </div>
    <div class="pieRect">
        <div class="titleLine">
            <div class="titleDot"></div>
            <span class="titleFont">台账申诉处理</span>
        </div>
        <div class="chart" id="accountPie"></div>
    </div>
</div>

<script src="<c:url value="/js/lib/jquery.min.js"/>" type="text/javascript"></script>
<script src="<c:url value="/js/lib/bootstrap.min.js"/>" type="text/javascript"></script>
<script src="<c:url value="/js/lib/echarts.min.js"/>" type="text/javascript"></script>
<script src="<c:url value="/js/lib/flexible.js"/>" type="text/javascript"></script>
<script src="<c:url value="/js/lib/weknow.js"/>" type="text/javascript"></script>
<script src="<c:url value="/js/lib/wn-validator.js"/>" type="text/javascript"></script>
<script src="<c:url value="/plugins/jquery-ui/wn-jquery-ui.js"/>" type="text/javascript"></script>
<script src="<c:url value="/js/pc/statement/statistics_statement.js"/>" type="text/javascript"></script>
</body>
</html>
